import React, { FunctionComponent } from 'react';

interface Text2ImgPanelProps {
  setImageUrl: React.Dispatch<React.SetStateAction<string | undefined>>;
  imageUrl: string | undefined;
  onTaskGenerated: (taskId: string, model: string) => void;
}

const Text2ImgPanel: FunctionComponent<Text2ImgPanelProps> = ({
  setImageUrl,
  imageUrl,
  onTaskGenerated
}) => {
  return (
    <div style={{ padding: '16px' }}>
      <h3>文本生成图像todo</h3>
      {/* 临时内容，用于测试渲染 */}
    </div>
  );
};

export default Text2ImgPanel; 